//var express = require('express');
//var router = express.Router();
//
///* GET home page. */
//router.get('/', function(req, res, next) {
//  res.render('index', { title: 'Express' });
//});
//
//module.exports = router;


var Util = require('../MyUtil.js');
//var $ = require('jQuery');
exports.index = function(req, res){
    var url="http://movie.douban.com/subject/11529526";
    console.log(url);
    Util.get(url,function(content,status){
    console.log("status:="+status);
    res.send(content);
    });
};
